<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>left</title>
    <base target="body"/>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<meta http-equiv="content-type" content="text/html;charset=utf-8">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	<style type="text/css">
	
	
		*{
			font-size:10pt;
			text-align: center;
		}
		div {
		text-align:left;
			background: #DEE7F9; 
			margin: 3px; 
			padding: 3px;
		}
		a {
			text-decoration: none;
		}
	</style>
  </head>
  
  <body>
  <div style="background-color: #DEE7F9;margin-top: 30px;" >
			<div style="width: 150px">
				<a href="<c:url value='/booklist'/>" style="font-size: 16px;">书本分类</a>
			</div>
			
			
			<c:forEach items="${categoryList }" var="category">
				<div style="width: 150px">
					<a  style="color:#666666;font-size: 16px;" href="<c:url value='/bookbyCategory'/>?cid=${category.cid}">${category.cname}</a>
				</div>
			</c:forEach>
</div>
  </body>
</html>
